/*
* Copyright (c) 18/5/15 foo.com. All Rights Reserved.
*/
package com.cgmnx.admin.biz;


import com.cgmnx.admin.dao.condition.NoteCondition;
import com.cgmnx.admin.dao.entity.NoteEntity;

import java.util.List;

/**
 * @author: z Date: 18/5/15 Time: 下午10:26
 * @version: 1.0.0
 */
public interface NoteBiz {

    int count(NoteCondition condition);

    List<NoteEntity> queryPage(NoteCondition condition);

    NoteEntity query(Integer id);

    void save(NoteEntity convert);

    void audit(Integer id, Integer newStatus, Integer oldStatus);
}
